package thread;

/**
 * @Author: Crystal
 * @Date: 2019/5/13 15:46
 **/
public class MyRunnable implements Runnable {

    private String name;
    public MyRunnable(String name){
        this.name = name;
    }

    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println("Thread start: "+this.name+",i"+i);
        }
    }
}
